package org.smile.design.flyweight;

import lombok.AllArgsConstructor;
import lombok.Data;

@Data
@AllArgsConstructor
public class Member implements MemberAction{
    private Integer number;
    private String name;

    @Override
    public void print() {
        System.out.println(this.name+"::"+this.number);
    }
}
